package com.cn.kehong.domain;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class ProductPeiTouExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public ProductPeiTouExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(String value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(String value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(String value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(String value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(String value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(String value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLike(String value) {
            addCriterion("id like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotLike(String value) {
            addCriterion("id not like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<String> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<String> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(String value1, String value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(String value1, String value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andProductNameIsNull() {
            addCriterion("product_name is null");
            return (Criteria) this;
        }

        public Criteria andProductNameIsNotNull() {
            addCriterion("product_name is not null");
            return (Criteria) this;
        }

        public Criteria andProductNameEqualTo(String value) {
            addCriterion("product_name =", value, "productName");
            return (Criteria) this;
        }

        public Criteria andProductNameNotEqualTo(String value) {
            addCriterion("product_name <>", value, "productName");
            return (Criteria) this;
        }

        public Criteria andProductNameGreaterThan(String value) {
            addCriterion("product_name >", value, "productName");
            return (Criteria) this;
        }

        public Criteria andProductNameGreaterThanOrEqualTo(String value) {
            addCriterion("product_name >=", value, "productName");
            return (Criteria) this;
        }

        public Criteria andProductNameLessThan(String value) {
            addCriterion("product_name <", value, "productName");
            return (Criteria) this;
        }

        public Criteria andProductNameLessThanOrEqualTo(String value) {
            addCriterion("product_name <=", value, "productName");
            return (Criteria) this;
        }

        public Criteria andProductNameLike(String value) {
            addCriterion("product_name like", value, "productName");
            return (Criteria) this;
        }

        public Criteria andProductNameNotLike(String value) {
            addCriterion("product_name not like", value, "productName");
            return (Criteria) this;
        }

        public Criteria andProductNameIn(List<String> values) {
            addCriterion("product_name in", values, "productName");
            return (Criteria) this;
        }

        public Criteria andProductNameNotIn(List<String> values) {
            addCriterion("product_name not in", values, "productName");
            return (Criteria) this;
        }

        public Criteria andProductNameBetween(String value1, String value2) {
            addCriterion("product_name between", value1, value2, "productName");
            return (Criteria) this;
        }

        public Criteria andProductNameNotBetween(String value1, String value2) {
            addCriterion("product_name not between", value1, value2, "productName");
            return (Criteria) this;
        }

        public Criteria andBoxCodeIsNull() {
            addCriterion("box_code is null");
            return (Criteria) this;
        }

        public Criteria andBoxCodeIsNotNull() {
            addCriterion("box_code is not null");
            return (Criteria) this;
        }

        public Criteria andBoxCodeEqualTo(String value) {
            addCriterion("box_code =", value, "boxCode");
            return (Criteria) this;
        }

        public Criteria andBoxCodeNotEqualTo(String value) {
            addCriterion("box_code <>", value, "boxCode");
            return (Criteria) this;
        }

        public Criteria andBoxCodeGreaterThan(String value) {
            addCriterion("box_code >", value, "boxCode");
            return (Criteria) this;
        }

        public Criteria andBoxCodeGreaterThanOrEqualTo(String value) {
            addCriterion("box_code >=", value, "boxCode");
            return (Criteria) this;
        }

        public Criteria andBoxCodeLessThan(String value) {
            addCriterion("box_code <", value, "boxCode");
            return (Criteria) this;
        }

        public Criteria andBoxCodeLessThanOrEqualTo(String value) {
            addCriterion("box_code <=", value, "boxCode");
            return (Criteria) this;
        }

        public Criteria andBoxCodeLike(String value) {
            addCriterion("box_code like", value, "boxCode");
            return (Criteria) this;
        }

        public Criteria andBoxCodeNotLike(String value) {
            addCriterion("box_code not like", value, "boxCode");
            return (Criteria) this;
        }

        public Criteria andBoxCodeIn(List<String> values) {
            addCriterion("box_code in", values, "boxCode");
            return (Criteria) this;
        }

        public Criteria andBoxCodeNotIn(List<String> values) {
            addCriterion("box_code not in", values, "boxCode");
            return (Criteria) this;
        }

        public Criteria andBoxCodeBetween(String value1, String value2) {
            addCriterion("box_code between", value1, value2, "boxCode");
            return (Criteria) this;
        }

        public Criteria andBoxCodeNotBetween(String value1, String value2) {
            addCriterion("box_code not between", value1, value2, "boxCode");
            return (Criteria) this;
        }

        public Criteria andProductCodeIsNull() {
            addCriterion("product_code is null");
            return (Criteria) this;
        }

        public Criteria andProductCodeIsNotNull() {
            addCriterion("product_code is not null");
            return (Criteria) this;
        }

        public Criteria andProductCodeEqualTo(String value) {
            addCriterion("product_code =", value, "productCode");
            return (Criteria) this;
        }

        public Criteria andProductCodeNotEqualTo(String value) {
            addCriterion("product_code <>", value, "productCode");
            return (Criteria) this;
        }

        public Criteria andProductCodeGreaterThan(String value) {
            addCriterion("product_code >", value, "productCode");
            return (Criteria) this;
        }

        public Criteria andProductCodeGreaterThanOrEqualTo(String value) {
            addCriterion("product_code >=", value, "productCode");
            return (Criteria) this;
        }

        public Criteria andProductCodeLessThan(String value) {
            addCriterion("product_code <", value, "productCode");
            return (Criteria) this;
        }

        public Criteria andProductCodeLessThanOrEqualTo(String value) {
            addCriterion("product_code <=", value, "productCode");
            return (Criteria) this;
        }

        public Criteria andProductCodeLike(String value) {
            addCriterion("product_code like", value, "productCode");
            return (Criteria) this;
        }

        public Criteria andProductCodeNotLike(String value) {
            addCriterion("product_code not like", value, "productCode");
            return (Criteria) this;
        }

        public Criteria andProductCodeIn(List<String> values) {
            addCriterion("product_code in", values, "productCode");
            return (Criteria) this;
        }

        public Criteria andProductCodeNotIn(List<String> values) {
            addCriterion("product_code not in", values, "productCode");
            return (Criteria) this;
        }

        public Criteria andProductCodeBetween(String value1, String value2) {
            addCriterion("product_code between", value1, value2, "productCode");
            return (Criteria) this;
        }

        public Criteria andProductCodeNotBetween(String value1, String value2) {
            addCriterion("product_code not between", value1, value2, "productCode");
            return (Criteria) this;
        }

        public Criteria andFactoryNameIsNull() {
            addCriterion("factory_name is null");
            return (Criteria) this;
        }

        public Criteria andFactoryNameIsNotNull() {
            addCriterion("factory_name is not null");
            return (Criteria) this;
        }

        public Criteria andFactoryNameEqualTo(String value) {
            addCriterion("factory_name =", value, "factoryName");
            return (Criteria) this;
        }

        public Criteria andFactoryNameNotEqualTo(String value) {
            addCriterion("factory_name <>", value, "factoryName");
            return (Criteria) this;
        }

        public Criteria andFactoryNameGreaterThan(String value) {
            addCriterion("factory_name >", value, "factoryName");
            return (Criteria) this;
        }

        public Criteria andFactoryNameGreaterThanOrEqualTo(String value) {
            addCriterion("factory_name >=", value, "factoryName");
            return (Criteria) this;
        }

        public Criteria andFactoryNameLessThan(String value) {
            addCriterion("factory_name <", value, "factoryName");
            return (Criteria) this;
        }

        public Criteria andFactoryNameLessThanOrEqualTo(String value) {
            addCriterion("factory_name <=", value, "factoryName");
            return (Criteria) this;
        }

        public Criteria andFactoryNameLike(String value) {
            addCriterion("factory_name like", value, "factoryName");
            return (Criteria) this;
        }

        public Criteria andFactoryNameNotLike(String value) {
            addCriterion("factory_name not like", value, "factoryName");
            return (Criteria) this;
        }

        public Criteria andFactoryNameIn(List<String> values) {
            addCriterion("factory_name in", values, "factoryName");
            return (Criteria) this;
        }

        public Criteria andFactoryNameNotIn(List<String> values) {
            addCriterion("factory_name not in", values, "factoryName");
            return (Criteria) this;
        }

        public Criteria andFactoryNameBetween(String value1, String value2) {
            addCriterion("factory_name between", value1, value2, "factoryName");
            return (Criteria) this;
        }

        public Criteria andFactoryNameNotBetween(String value1, String value2) {
            addCriterion("factory_name not between", value1, value2, "factoryName");
            return (Criteria) this;
        }

        public Criteria andGradeValueIsNull() {
            addCriterion("grade_value is null");
            return (Criteria) this;
        }

        public Criteria andGradeValueIsNotNull() {
            addCriterion("grade_value is not null");
            return (Criteria) this;
        }

        public Criteria andGradeValueEqualTo(String value) {
            addCriterion("grade_value =", value, "gradeValue");
            return (Criteria) this;
        }

        public Criteria andGradeValueNotEqualTo(String value) {
            addCriterion("grade_value <>", value, "gradeValue");
            return (Criteria) this;
        }

        public Criteria andGradeValueGreaterThan(String value) {
            addCriterion("grade_value >", value, "gradeValue");
            return (Criteria) this;
        }

        public Criteria andGradeValueGreaterThanOrEqualTo(String value) {
            addCriterion("grade_value >=", value, "gradeValue");
            return (Criteria) this;
        }

        public Criteria andGradeValueLessThan(String value) {
            addCriterion("grade_value <", value, "gradeValue");
            return (Criteria) this;
        }

        public Criteria andGradeValueLessThanOrEqualTo(String value) {
            addCriterion("grade_value <=", value, "gradeValue");
            return (Criteria) this;
        }

        public Criteria andGradeValueLike(String value) {
            addCriterion("grade_value like", value, "gradeValue");
            return (Criteria) this;
        }

        public Criteria andGradeValueNotLike(String value) {
            addCriterion("grade_value not like", value, "gradeValue");
            return (Criteria) this;
        }

        public Criteria andGradeValueIn(List<String> values) {
            addCriterion("grade_value in", values, "gradeValue");
            return (Criteria) this;
        }

        public Criteria andGradeValueNotIn(List<String> values) {
            addCriterion("grade_value not in", values, "gradeValue");
            return (Criteria) this;
        }

        public Criteria andGradeValueBetween(String value1, String value2) {
            addCriterion("grade_value between", value1, value2, "gradeValue");
            return (Criteria) this;
        }

        public Criteria andGradeValueNotBetween(String value1, String value2) {
            addCriterion("grade_value not between", value1, value2, "gradeValue");
            return (Criteria) this;
        }

        public Criteria andExperimentCodeIsNull() {
            addCriterion("experiment_code is null");
            return (Criteria) this;
        }

        public Criteria andExperimentCodeIsNotNull() {
            addCriterion("experiment_code is not null");
            return (Criteria) this;
        }

        public Criteria andExperimentCodeEqualTo(String value) {
            addCriterion("experiment_code =", value, "experimentCode");
            return (Criteria) this;
        }

        public Criteria andExperimentCodeNotEqualTo(String value) {
            addCriterion("experiment_code <>", value, "experimentCode");
            return (Criteria) this;
        }

        public Criteria andExperimentCodeGreaterThan(String value) {
            addCriterion("experiment_code >", value, "experimentCode");
            return (Criteria) this;
        }

        public Criteria andExperimentCodeGreaterThanOrEqualTo(String value) {
            addCriterion("experiment_code >=", value, "experimentCode");
            return (Criteria) this;
        }

        public Criteria andExperimentCodeLessThan(String value) {
            addCriterion("experiment_code <", value, "experimentCode");
            return (Criteria) this;
        }

        public Criteria andExperimentCodeLessThanOrEqualTo(String value) {
            addCriterion("experiment_code <=", value, "experimentCode");
            return (Criteria) this;
        }

        public Criteria andExperimentCodeLike(String value) {
            addCriterion("experiment_code like", value, "experimentCode");
            return (Criteria) this;
        }

        public Criteria andExperimentCodeNotLike(String value) {
            addCriterion("experiment_code not like", value, "experimentCode");
            return (Criteria) this;
        }

        public Criteria andExperimentCodeIn(List<String> values) {
            addCriterion("experiment_code in", values, "experimentCode");
            return (Criteria) this;
        }

        public Criteria andExperimentCodeNotIn(List<String> values) {
            addCriterion("experiment_code not in", values, "experimentCode");
            return (Criteria) this;
        }

        public Criteria andExperimentCodeBetween(String value1, String value2) {
            addCriterion("experiment_code between", value1, value2, "experimentCode");
            return (Criteria) this;
        }

        public Criteria andExperimentCodeNotBetween(String value1, String value2) {
            addCriterion("experiment_code not between", value1, value2, "experimentCode");
            return (Criteria) this;
        }

        public Criteria andStartCodeIsNull() {
            addCriterion("start_code is null");
            return (Criteria) this;
        }

        public Criteria andStartCodeIsNotNull() {
            addCriterion("start_code is not null");
            return (Criteria) this;
        }

        public Criteria andStartCodeEqualTo(String value) {
            addCriterion("start_code =", value, "startCode");
            return (Criteria) this;
        }

        public Criteria andStartCodeNotEqualTo(String value) {
            addCriterion("start_code <>", value, "startCode");
            return (Criteria) this;
        }

        public Criteria andStartCodeGreaterThan(String value) {
            addCriterion("start_code >", value, "startCode");
            return (Criteria) this;
        }

        public Criteria andStartCodeGreaterThanOrEqualTo(String value) {
            addCriterion("start_code >=", value, "startCode");
            return (Criteria) this;
        }

        public Criteria andStartCodeLessThan(String value) {
            addCriterion("start_code <", value, "startCode");
            return (Criteria) this;
        }

        public Criteria andStartCodeLessThanOrEqualTo(String value) {
            addCriterion("start_code <=", value, "startCode");
            return (Criteria) this;
        }

        public Criteria andStartCodeLike(String value) {
            addCriterion("start_code like", value, "startCode");
            return (Criteria) this;
        }

        public Criteria andStartCodeNotLike(String value) {
            addCriterion("start_code not like", value, "startCode");
            return (Criteria) this;
        }

        public Criteria andStartCodeIn(List<String> values) {
            addCriterion("start_code in", values, "startCode");
            return (Criteria) this;
        }

        public Criteria andStartCodeNotIn(List<String> values) {
            addCriterion("start_code not in", values, "startCode");
            return (Criteria) this;
        }

        public Criteria andStartCodeBetween(String value1, String value2) {
            addCriterion("start_code between", value1, value2, "startCode");
            return (Criteria) this;
        }

        public Criteria andStartCodeNotBetween(String value1, String value2) {
            addCriterion("start_code not between", value1, value2, "startCode");
            return (Criteria) this;
        }

        public Criteria andQiStartTimeIsNull() {
            addCriterion("qi_start_time is null");
            return (Criteria) this;
        }

        public Criteria andQiStartTimeIsNotNull() {
            addCriterion("qi_start_time is not null");
            return (Criteria) this;
        }

        public Criteria andQiStartTimeEqualTo(String value) {
            addCriterion("qi_start_time =", value, "qiStartTime");
            return (Criteria) this;
        }

        public Criteria andQiStartTimeNotEqualTo(String value) {
            addCriterion("qi_start_time <>", value, "qiStartTime");
            return (Criteria) this;
        }

        public Criteria andQiStartTimeGreaterThan(String value) {
            addCriterion("qi_start_time >", value, "qiStartTime");
            return (Criteria) this;
        }

        public Criteria andQiStartTimeGreaterThanOrEqualTo(String value) {
            addCriterion("qi_start_time >=", value, "qiStartTime");
            return (Criteria) this;
        }

        public Criteria andQiStartTimeLessThan(String value) {
            addCriterion("qi_start_time <", value, "qiStartTime");
            return (Criteria) this;
        }

        public Criteria andQiStartTimeLessThanOrEqualTo(String value) {
            addCriterion("qi_start_time <=", value, "qiStartTime");
            return (Criteria) this;
        }

        public Criteria andQiStartTimeLike(String value) {
            addCriterion("qi_start_time like", value, "qiStartTime");
            return (Criteria) this;
        }

        public Criteria andQiStartTimeNotLike(String value) {
            addCriterion("qi_start_time not like", value, "qiStartTime");
            return (Criteria) this;
        }

        public Criteria andQiStartTimeIn(List<String> values) {
            addCriterion("qi_start_time in", values, "qiStartTime");
            return (Criteria) this;
        }

        public Criteria andQiStartTimeNotIn(List<String> values) {
            addCriterion("qi_start_time not in", values, "qiStartTime");
            return (Criteria) this;
        }

        public Criteria andQiStartTimeBetween(String value1, String value2) {
            addCriterion("qi_start_time between", value1, value2, "qiStartTime");
            return (Criteria) this;
        }

        public Criteria andQiStartTimeNotBetween(String value1, String value2) {
            addCriterion("qi_start_time not between", value1, value2, "qiStartTime");
            return (Criteria) this;
        }

        public Criteria andQiUserNameIsNull() {
            addCriterion("qi_user_name is null");
            return (Criteria) this;
        }

        public Criteria andQiUserNameIsNotNull() {
            addCriterion("qi_user_name is not null");
            return (Criteria) this;
        }

        public Criteria andQiUserNameEqualTo(String value) {
            addCriterion("qi_user_name =", value, "qiUserName");
            return (Criteria) this;
        }

        public Criteria andQiUserNameNotEqualTo(String value) {
            addCriterion("qi_user_name <>", value, "qiUserName");
            return (Criteria) this;
        }

        public Criteria andQiUserNameGreaterThan(String value) {
            addCriterion("qi_user_name >", value, "qiUserName");
            return (Criteria) this;
        }

        public Criteria andQiUserNameGreaterThanOrEqualTo(String value) {
            addCriterion("qi_user_name >=", value, "qiUserName");
            return (Criteria) this;
        }

        public Criteria andQiUserNameLessThan(String value) {
            addCriterion("qi_user_name <", value, "qiUserName");
            return (Criteria) this;
        }

        public Criteria andQiUserNameLessThanOrEqualTo(String value) {
            addCriterion("qi_user_name <=", value, "qiUserName");
            return (Criteria) this;
        }

        public Criteria andQiUserNameLike(String value) {
            addCriterion("qi_user_name like", value, "qiUserName");
            return (Criteria) this;
        }

        public Criteria andQiUserNameNotLike(String value) {
            addCriterion("qi_user_name not like", value, "qiUserName");
            return (Criteria) this;
        }

        public Criteria andQiUserNameIn(List<String> values) {
            addCriterion("qi_user_name in", values, "qiUserName");
            return (Criteria) this;
        }

        public Criteria andQiUserNameNotIn(List<String> values) {
            addCriterion("qi_user_name not in", values, "qiUserName");
            return (Criteria) this;
        }

        public Criteria andQiUserNameBetween(String value1, String value2) {
            addCriterion("qi_user_name between", value1, value2, "qiUserName");
            return (Criteria) this;
        }

        public Criteria andQiUserNameNotBetween(String value1, String value2) {
            addCriterion("qi_user_name not between", value1, value2, "qiUserName");
            return (Criteria) this;
        }

        public Criteria andPeiStartTimeIsNull() {
            addCriterion("pei_start_time is null");
            return (Criteria) this;
        }

        public Criteria andPeiStartTimeIsNotNull() {
            addCriterion("pei_start_time is not null");
            return (Criteria) this;
        }

        public Criteria andPeiStartTimeEqualTo(String value) {
            addCriterion("pei_start_time =", value, "peiStartTime");
            return (Criteria) this;
        }

        public Criteria andPeiStartTimeNotEqualTo(String value) {
            addCriterion("pei_start_time <>", value, "peiStartTime");
            return (Criteria) this;
        }

        public Criteria andPeiStartTimeGreaterThan(String value) {
            addCriterion("pei_start_time >", value, "peiStartTime");
            return (Criteria) this;
        }

        public Criteria andPeiStartTimeGreaterThanOrEqualTo(String value) {
            addCriterion("pei_start_time >=", value, "peiStartTime");
            return (Criteria) this;
        }

        public Criteria andPeiStartTimeLessThan(String value) {
            addCriterion("pei_start_time <", value, "peiStartTime");
            return (Criteria) this;
        }

        public Criteria andPeiStartTimeLessThanOrEqualTo(String value) {
            addCriterion("pei_start_time <=", value, "peiStartTime");
            return (Criteria) this;
        }

        public Criteria andPeiStartTimeLike(String value) {
            addCriterion("pei_start_time like", value, "peiStartTime");
            return (Criteria) this;
        }

        public Criteria andPeiStartTimeNotLike(String value) {
            addCriterion("pei_start_time not like", value, "peiStartTime");
            return (Criteria) this;
        }

        public Criteria andPeiStartTimeIn(List<String> values) {
            addCriterion("pei_start_time in", values, "peiStartTime");
            return (Criteria) this;
        }

        public Criteria andPeiStartTimeNotIn(List<String> values) {
            addCriterion("pei_start_time not in", values, "peiStartTime");
            return (Criteria) this;
        }

        public Criteria andPeiStartTimeBetween(String value1, String value2) {
            addCriterion("pei_start_time between", value1, value2, "peiStartTime");
            return (Criteria) this;
        }

        public Criteria andPeiStartTimeNotBetween(String value1, String value2) {
            addCriterion("pei_start_time not between", value1, value2, "peiStartTime");
            return (Criteria) this;
        }

        public Criteria andPeiSpendTimeIsNull() {
            addCriterion("pei_spend_time is null");
            return (Criteria) this;
        }

        public Criteria andPeiSpendTimeIsNotNull() {
            addCriterion("pei_spend_time is not null");
            return (Criteria) this;
        }

        public Criteria andPeiSpendTimeEqualTo(String value) {
            addCriterion("pei_spend_time =", value, "peiSpendTime");
            return (Criteria) this;
        }

        public Criteria andPeiSpendTimeNotEqualTo(String value) {
            addCriterion("pei_spend_time <>", value, "peiSpendTime");
            return (Criteria) this;
        }

        public Criteria andPeiSpendTimeGreaterThan(String value) {
            addCriterion("pei_spend_time >", value, "peiSpendTime");
            return (Criteria) this;
        }

        public Criteria andPeiSpendTimeGreaterThanOrEqualTo(String value) {
            addCriterion("pei_spend_time >=", value, "peiSpendTime");
            return (Criteria) this;
        }

        public Criteria andPeiSpendTimeLessThan(String value) {
            addCriterion("pei_spend_time <", value, "peiSpendTime");
            return (Criteria) this;
        }

        public Criteria andPeiSpendTimeLessThanOrEqualTo(String value) {
            addCriterion("pei_spend_time <=", value, "peiSpendTime");
            return (Criteria) this;
        }

        public Criteria andPeiSpendTimeLike(String value) {
            addCriterion("pei_spend_time like", value, "peiSpendTime");
            return (Criteria) this;
        }

        public Criteria andPeiSpendTimeNotLike(String value) {
            addCriterion("pei_spend_time not like", value, "peiSpendTime");
            return (Criteria) this;
        }

        public Criteria andPeiSpendTimeIn(List<String> values) {
            addCriterion("pei_spend_time in", values, "peiSpendTime");
            return (Criteria) this;
        }

        public Criteria andPeiSpendTimeNotIn(List<String> values) {
            addCriterion("pei_spend_time not in", values, "peiSpendTime");
            return (Criteria) this;
        }

        public Criteria andPeiSpendTimeBetween(String value1, String value2) {
            addCriterion("pei_spend_time between", value1, value2, "peiSpendTime");
            return (Criteria) this;
        }

        public Criteria andPeiSpendTimeNotBetween(String value1, String value2) {
            addCriterion("pei_spend_time not between", value1, value2, "peiSpendTime");
            return (Criteria) this;
        }

        public Criteria andPeiEndTimeIsNull() {
            addCriterion("pei_end_time is null");
            return (Criteria) this;
        }

        public Criteria andPeiEndTimeIsNotNull() {
            addCriterion("pei_end_time is not null");
            return (Criteria) this;
        }

        public Criteria andPeiEndTimeEqualTo(String value) {
            addCriterion("pei_end_time =", value, "peiEndTime");
            return (Criteria) this;
        }

        public Criteria andPeiEndTimeNotEqualTo(String value) {
            addCriterion("pei_end_time <>", value, "peiEndTime");
            return (Criteria) this;
        }

        public Criteria andPeiEndTimeGreaterThan(String value) {
            addCriterion("pei_end_time >", value, "peiEndTime");
            return (Criteria) this;
        }

        public Criteria andPeiEndTimeGreaterThanOrEqualTo(String value) {
            addCriterion("pei_end_time >=", value, "peiEndTime");
            return (Criteria) this;
        }

        public Criteria andPeiEndTimeLessThan(String value) {
            addCriterion("pei_end_time <", value, "peiEndTime");
            return (Criteria) this;
        }

        public Criteria andPeiEndTimeLessThanOrEqualTo(String value) {
            addCriterion("pei_end_time <=", value, "peiEndTime");
            return (Criteria) this;
        }

        public Criteria andPeiEndTimeLike(String value) {
            addCriterion("pei_end_time like", value, "peiEndTime");
            return (Criteria) this;
        }

        public Criteria andPeiEndTimeNotLike(String value) {
            addCriterion("pei_end_time not like", value, "peiEndTime");
            return (Criteria) this;
        }

        public Criteria andPeiEndTimeIn(List<String> values) {
            addCriterion("pei_end_time in", values, "peiEndTime");
            return (Criteria) this;
        }

        public Criteria andPeiEndTimeNotIn(List<String> values) {
            addCriterion("pei_end_time not in", values, "peiEndTime");
            return (Criteria) this;
        }

        public Criteria andPeiEndTimeBetween(String value1, String value2) {
            addCriterion("pei_end_time between", value1, value2, "peiEndTime");
            return (Criteria) this;
        }

        public Criteria andPeiEndTimeNotBetween(String value1, String value2) {
            addCriterion("pei_end_time not between", value1, value2, "peiEndTime");
            return (Criteria) this;
        }

        public Criteria andPeiUserNameIsNull() {
            addCriterion("pei_user_name is null");
            return (Criteria) this;
        }

        public Criteria andPeiUserNameIsNotNull() {
            addCriterion("pei_user_name is not null");
            return (Criteria) this;
        }

        public Criteria andPeiUserNameEqualTo(String value) {
            addCriterion("pei_user_name =", value, "peiUserName");
            return (Criteria) this;
        }

        public Criteria andPeiUserNameNotEqualTo(String value) {
            addCriterion("pei_user_name <>", value, "peiUserName");
            return (Criteria) this;
        }

        public Criteria andPeiUserNameGreaterThan(String value) {
            addCriterion("pei_user_name >", value, "peiUserName");
            return (Criteria) this;
        }

        public Criteria andPeiUserNameGreaterThanOrEqualTo(String value) {
            addCriterion("pei_user_name >=", value, "peiUserName");
            return (Criteria) this;
        }

        public Criteria andPeiUserNameLessThan(String value) {
            addCriterion("pei_user_name <", value, "peiUserName");
            return (Criteria) this;
        }

        public Criteria andPeiUserNameLessThanOrEqualTo(String value) {
            addCriterion("pei_user_name <=", value, "peiUserName");
            return (Criteria) this;
        }

        public Criteria andPeiUserNameLike(String value) {
            addCriterion("pei_user_name like", value, "peiUserName");
            return (Criteria) this;
        }

        public Criteria andPeiUserNameNotLike(String value) {
            addCriterion("pei_user_name not like", value, "peiUserName");
            return (Criteria) this;
        }

        public Criteria andPeiUserNameIn(List<String> values) {
            addCriterion("pei_user_name in", values, "peiUserName");
            return (Criteria) this;
        }

        public Criteria andPeiUserNameNotIn(List<String> values) {
            addCriterion("pei_user_name not in", values, "peiUserName");
            return (Criteria) this;
        }

        public Criteria andPeiUserNameBetween(String value1, String value2) {
            addCriterion("pei_user_name between", value1, value2, "peiUserName");
            return (Criteria) this;
        }

        public Criteria andPeiUserNameNotBetween(String value1, String value2) {
            addCriterion("pei_user_name not between", value1, value2, "peiUserName");
            return (Criteria) this;
        }

        public Criteria andBanUserNameIsNull() {
            addCriterion("ban_user_name is null");
            return (Criteria) this;
        }

        public Criteria andBanUserNameIsNotNull() {
            addCriterion("ban_user_name is not null");
            return (Criteria) this;
        }

        public Criteria andBanUserNameEqualTo(String value) {
            addCriterion("ban_user_name =", value, "banUserName");
            return (Criteria) this;
        }

        public Criteria andBanUserNameNotEqualTo(String value) {
            addCriterion("ban_user_name <>", value, "banUserName");
            return (Criteria) this;
        }

        public Criteria andBanUserNameGreaterThan(String value) {
            addCriterion("ban_user_name >", value, "banUserName");
            return (Criteria) this;
        }

        public Criteria andBanUserNameGreaterThanOrEqualTo(String value) {
            addCriterion("ban_user_name >=", value, "banUserName");
            return (Criteria) this;
        }

        public Criteria andBanUserNameLessThan(String value) {
            addCriterion("ban_user_name <", value, "banUserName");
            return (Criteria) this;
        }

        public Criteria andBanUserNameLessThanOrEqualTo(String value) {
            addCriterion("ban_user_name <=", value, "banUserName");
            return (Criteria) this;
        }

        public Criteria andBanUserNameLike(String value) {
            addCriterion("ban_user_name like", value, "banUserName");
            return (Criteria) this;
        }

        public Criteria andBanUserNameNotLike(String value) {
            addCriterion("ban_user_name not like", value, "banUserName");
            return (Criteria) this;
        }

        public Criteria andBanUserNameIn(List<String> values) {
            addCriterion("ban_user_name in", values, "banUserName");
            return (Criteria) this;
        }

        public Criteria andBanUserNameNotIn(List<String> values) {
            addCriterion("ban_user_name not in", values, "banUserName");
            return (Criteria) this;
        }

        public Criteria andBanUserNameBetween(String value1, String value2) {
            addCriterion("ban_user_name between", value1, value2, "banUserName");
            return (Criteria) this;
        }

        public Criteria andBanUserNameNotBetween(String value1, String value2) {
            addCriterion("ban_user_name not between", value1, value2, "banUserName");
            return (Criteria) this;
        }

        public Criteria andPeiStatusIsNull() {
            addCriterion("pei_status is null");
            return (Criteria) this;
        }

        public Criteria andPeiStatusIsNotNull() {
            addCriterion("pei_status is not null");
            return (Criteria) this;
        }

        public Criteria andPeiStatusEqualTo(String value) {
            addCriterion("pei_status =", value, "peiStatus");
            return (Criteria) this;
        }

        public Criteria andFinalStatusEqualTo(String value) {
            addCriterion("final_status =", value, "finalStatus");
            return (Criteria) this;
        }

        public Criteria andPeiStatusNotEqualTo(String value) {
            addCriterion("pei_status <>", value, "peiStatus");
            return (Criteria) this;
        }

        public Criteria andPeiStatusGreaterThan(String value) {
            addCriterion("pei_status >", value, "peiStatus");
            return (Criteria) this;
        }

        public Criteria andPeiStatusGreaterThanOrEqualTo(String value) {
            addCriterion("pei_status >=", value, "peiStatus");
            return (Criteria) this;
        }

        public Criteria andPeiStatusLessThan(String value) {
            addCriterion("pei_status <", value, "peiStatus");
            return (Criteria) this;
        }

        public Criteria andPeiStatusLessThanOrEqualTo(String value) {
            addCriterion("pei_status <=", value, "peiStatus");
            return (Criteria) this;
        }

        public Criteria andPeiStatusLike(String value) {
            addCriterion("pei_status like", value, "peiStatus");
            return (Criteria) this;
        }

        public Criteria andPeiStatusNotLike(String value) {
            addCriterion("pei_status not like", value, "peiStatus");
            return (Criteria) this;
        }

        public Criteria andPeiStatusIn(List<String> values) {
            addCriterion("pei_status in", values, "peiStatus");
            return (Criteria) this;
        }

        public Criteria andPeiStatusNotIn(List<String> values) {
            addCriterion("pei_status not in", values, "peiStatus");
            return (Criteria) this;
        }

        public Criteria andPeiStatusBetween(String value1, String value2) {
            addCriterion("pei_status between", value1, value2, "peiStatus");
            return (Criteria) this;
        }

        public Criteria andPeiStatusNotBetween(String value1, String value2) {
            addCriterion("pei_status not between", value1, value2, "peiStatus");
            return (Criteria) this;
        }

        public Criteria andTouStatusIsNull() {
            addCriterion("tou_status is null");
            return (Criteria) this;
        }

        public Criteria andTouStatusIsNotNull() {
            addCriterion("tou_status is not null");
            return (Criteria) this;
        }

        public Criteria andTouStatusEqualTo(String value) {
            addCriterion("tou_status =", value, "touStatus");
            return (Criteria) this;
        }

        public Criteria andTouStatusNotEqualTo(String value) {
            addCriterion("tou_status <>", value, "touStatus");
            return (Criteria) this;
        }

        public Criteria andTouStatusGreaterThan(String value) {
            addCriterion("tou_status >", value, "touStatus");
            return (Criteria) this;
        }

        public Criteria andTouStatusGreaterThanOrEqualTo(String value) {
            addCriterion("tou_status >=", value, "touStatus");
            return (Criteria) this;
        }

        public Criteria andTouStatusLessThan(String value) {
            addCriterion("tou_status <", value, "touStatus");
            return (Criteria) this;
        }

        public Criteria andTouStatusLessThanOrEqualTo(String value) {
            addCriterion("tou_status <=", value, "touStatus");
            return (Criteria) this;
        }

        public Criteria andTouStatusLike(String value) {
            addCriterion("tou_status like", value, "touStatus");
            return (Criteria) this;
        }

        public Criteria andTouStatusNotLike(String value) {
            addCriterion("tou_status not like", value, "touStatus");
            return (Criteria) this;
        }

        public Criteria andTouStatusIn(List<String> values) {
            addCriterion("tou_status in", values, "touStatus");
            return (Criteria) this;
        }

        public Criteria andTouStatusNotIn(List<String> values) {
            addCriterion("tou_status not in", values, "touStatus");
            return (Criteria) this;
        }

        public Criteria andTouStatusBetween(String value1, String value2) {
            addCriterion("tou_status between", value1, value2, "touStatus");
            return (Criteria) this;
        }

        public Criteria andTouStatusNotBetween(String value1, String value2) {
            addCriterion("tou_status not between", value1, value2, "touStatus");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(String value) {
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(String value) {
            addCriterion("status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(String value) {
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(String value) {
            addCriterion("status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(String value) {
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(String value) {
            addCriterion("status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLike(String value) {
            addCriterion("status like", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotLike(String value) {
            addCriterion("status not like", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<String> values) {
            addCriterion("status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<String> values) {
            addCriterion("status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(String value1, String value2) {
            addCriterion("status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(String value1, String value2) {
            addCriterion("status not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNull() {
            addCriterion("remark is null");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNotNull() {
            addCriterion("remark is not null");
            return (Criteria) this;
        }

        public Criteria andRemarkEqualTo(String value) {
            addCriterion("remark =", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotEqualTo(String value) {
            addCriterion("remark <>", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThan(String value) {
            addCriterion("remark >", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("remark >=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThan(String value) {
            addCriterion("remark <", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanOrEqualTo(String value) {
            addCriterion("remark <=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLike(String value) {
            addCriterion("remark like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotLike(String value) {
            addCriterion("remark not like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkIn(List<String> values) {
            addCriterion("remark in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotIn(List<String> values) {
            addCriterion("remark not in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkBetween(String value1, String value2) {
            addCriterion("remark between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotBetween(String value1, String value2) {
            addCriterion("remark not between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andWhiteDutyIsNull() {
            addCriterion("white_duty is null");
            return (Criteria) this;
        }

        public Criteria andWhiteDutyIsNotNull() {
            addCriterion("white_duty is not null");
            return (Criteria) this;
        }

        public Criteria andWhiteDutyEqualTo(String value) {
            addCriterion("white_duty =", value, "whiteDuty");
            return (Criteria) this;
        }

        public Criteria andWhiteDutyNotEqualTo(String value) {
            addCriterion("white_duty <>", value, "whiteDuty");
            return (Criteria) this;
        }

        public Criteria andWhiteDutyGreaterThan(String value) {
            addCriterion("white_duty >", value, "whiteDuty");
            return (Criteria) this;
        }

        public Criteria andWhiteDutyGreaterThanOrEqualTo(String value) {
            addCriterion("white_duty >=", value, "whiteDuty");
            return (Criteria) this;
        }

        public Criteria andWhiteDutyLessThan(String value) {
            addCriterion("white_duty <", value, "whiteDuty");
            return (Criteria) this;
        }

        public Criteria andWhiteDutyLessThanOrEqualTo(String value) {
            addCriterion("white_duty <=", value, "whiteDuty");
            return (Criteria) this;
        }

        public Criteria andWhiteDutyLike(String value) {
            addCriterion("white_duty like", value, "whiteDuty");
            return (Criteria) this;
        }

        public Criteria andWhiteDutyNotLike(String value) {
            addCriterion("white_duty not like", value, "whiteDuty");
            return (Criteria) this;
        }

        public Criteria andWhiteDutyIn(List<String> values) {
            addCriterion("white_duty in", values, "whiteDuty");
            return (Criteria) this;
        }

        public Criteria andWhiteDutyNotIn(List<String> values) {
            addCriterion("white_duty not in", values, "whiteDuty");
            return (Criteria) this;
        }

        public Criteria andWhiteDutyBetween(String value1, String value2) {
            addCriterion("white_duty between", value1, value2, "whiteDuty");
            return (Criteria) this;
        }

        public Criteria andWhiteDutyNotBetween(String value1, String value2) {
            addCriterion("white_duty not between", value1, value2, "whiteDuty");
            return (Criteria) this;
        }

        public Criteria andDutyDayIsNull() {
            addCriterion("duty_day is null");
            return (Criteria) this;
        }

        public Criteria andDutyDayIsNotNull() {
            addCriterion("duty_day is not null");
            return (Criteria) this;
        }

        public Criteria andDutyDayEqualTo(String value) {
            addCriterion("duty_day =", value, "dutyDay");
            return (Criteria) this;
        }

        public Criteria andDutyDayNotEqualTo(String value) {
            addCriterion("duty_day <>", value, "dutyDay");
            return (Criteria) this;
        }

        public Criteria andDutyDayGreaterThan(String value) {
            addCriterion("duty_day >", value, "dutyDay");
            return (Criteria) this;
        }

        public Criteria andDutyDayGreaterThanOrEqualTo(String value) {
            addCriterion("duty_day >=", value, "dutyDay");
            return (Criteria) this;
        }

        public Criteria andDutyDayLessThan(String value) {
            addCriterion("duty_day <", value, "dutyDay");
            return (Criteria) this;
        }

        public Criteria andDutyDayLessThanOrEqualTo(String value) {
            addCriterion("duty_day <=", value, "dutyDay");
            return (Criteria) this;
        }

        public Criteria andDutyDayLike(String value) {
            addCriterion("duty_day like", value, "dutyDay");
            return (Criteria) this;
        }

        public Criteria andDutyDayNotLike(String value) {
            addCriterion("duty_day not like", value, "dutyDay");
            return (Criteria) this;
        }

        public Criteria andDutyDayIn(List<String> values) {
            addCriterion("duty_day in", values, "dutyDay");
            return (Criteria) this;
        }

        public Criteria andDutyDayNotIn(List<String> values) {
            addCriterion("duty_day not in", values, "dutyDay");
            return (Criteria) this;
        }

        public Criteria andDutyDayBetween(String value1, String value2) {
            addCriterion("duty_day between", value1, value2, "dutyDay");
            return (Criteria) this;
        }

        public Criteria andDutyDayNotBetween(String value1, String value2) {
            addCriterion("duty_day not between", value1, value2, "dutyDay");
            return (Criteria) this;
        }

        public Criteria andTouStartTimeIsNull() {
            addCriterion("tou_start_time is null");
            return (Criteria) this;
        }

        public Criteria andTouStartTimeIsNotNull() {
            addCriterion("tou_start_time is not null");
            return (Criteria) this;
        }

        public Criteria andTouStartTimeEqualTo(String value) {
            addCriterion("tou_start_time =", value, "touStartTime");
            return (Criteria) this;
        }

        public Criteria andTouStartTimeNotEqualTo(String value) {
            addCriterion("tou_start_time <>", value, "touStartTime");
            return (Criteria) this;
        }

        public Criteria andTouStartTimeGreaterThan(String value) {
            addCriterion("tou_start_time >", value, "touStartTime");
            return (Criteria) this;
        }

        public Criteria andTouStartTimeGreaterThanOrEqualTo(String value) {
            addCriterion("tou_start_time >=", value, "touStartTime");
            return (Criteria) this;
        }

        public Criteria andTouStartTimeLessThan(String value) {
            addCriterion("tou_start_time <", value, "touStartTime");
            return (Criteria) this;
        }

        public Criteria andTouStartTimeLessThanOrEqualTo(String value) {
            addCriterion("tou_start_time <=", value, "touStartTime");
            return (Criteria) this;
        }

        public Criteria andTouStartTimeLike(String value) {
            addCriterion("tou_start_time like", value, "touStartTime");
            return (Criteria) this;
        }

        public Criteria andTouStartTimeNotLike(String value) {
            addCriterion("tou_start_time not like", value, "touStartTime");
            return (Criteria) this;
        }

        public Criteria andTouStartTimeIn(List<String> values) {
            addCriterion("tou_start_time in", values, "touStartTime");
            return (Criteria) this;
        }

        public Criteria andTouStartTimeNotIn(List<String> values) {
            addCriterion("tou_start_time not in", values, "touStartTime");
            return (Criteria) this;
        }

        public Criteria andTouStartTimeBetween(String value1, String value2) {
            addCriterion("tou_start_time between", value1, value2, "touStartTime");
            return (Criteria) this;
        }

        public Criteria andTouStartTimeNotBetween(String value1, String value2) {
            addCriterion("tou_start_time not between", value1, value2, "touStartTime");
            return (Criteria) this;
        }

        public Criteria andTouEndTimeIsNull() {
            addCriterion("tou_end_time is null");
            return (Criteria) this;
        }

        public Criteria andTouEndTimeIsNotNull() {
            addCriterion("tou_end_time is not null");
            return (Criteria) this;
        }

        public Criteria andTouEndTimeEqualTo(String value) {
            addCriterion("tou_end_time =", value, "touEndTime");
            return (Criteria) this;
        }

        public Criteria andTouEndTimeNotEqualTo(String value) {
            addCriterion("tou_end_time <>", value, "touEndTime");
            return (Criteria) this;
        }

        public Criteria andTouEndTimeGreaterThan(String value) {
            addCriterion("tou_end_time >", value, "touEndTime");
            return (Criteria) this;
        }

        public Criteria andTouEndTimeGreaterThanOrEqualTo(String value) {
            addCriterion("tou_end_time >=", value, "touEndTime");
            return (Criteria) this;
        }

        public Criteria andTouEndTimeLessThan(String value) {
            addCriterion("tou_end_time <", value, "touEndTime");
            return (Criteria) this;
        }

        public Criteria andTouEndTimeLessThanOrEqualTo(String value) {
            addCriterion("tou_end_time <=", value, "touEndTime");
            return (Criteria) this;
        }

        public Criteria andTouEndTimeLike(String value) {
            addCriterion("tou_end_time like", value, "touEndTime");
            return (Criteria) this;
        }

        public Criteria andTouEndTimeNotLike(String value) {
            addCriterion("tou_end_time not like", value, "touEndTime");
            return (Criteria) this;
        }

        public Criteria andTouEndTimeIn(List<String> values) {
            addCriterion("tou_end_time in", values, "touEndTime");
            return (Criteria) this;
        }

        public Criteria andTouEndTimeNotIn(List<String> values) {
            addCriterion("tou_end_time not in", values, "touEndTime");
            return (Criteria) this;
        }

        public Criteria andTouEndTimeBetween(String value1, String value2) {
            addCriterion("tou_end_time between", value1, value2, "touEndTime");
            return (Criteria) this;
        }

        public Criteria andTouEndTimeNotBetween(String value1, String value2) {
            addCriterion("tou_end_time not between", value1, value2, "touEndTime");
            return (Criteria) this;
        }

        public Criteria andTouSpendTimeIsNull() {
            addCriterion("tou_spend_time is null");
            return (Criteria) this;
        }

        public Criteria andTouSpendTimeIsNotNull() {
            addCriterion("tou_spend_time is not null");
            return (Criteria) this;
        }

        public Criteria andTouSpendTimeEqualTo(String value) {
            addCriterion("tou_spend_time =", value, "touSpendTime");
            return (Criteria) this;
        }

        public Criteria andTouSpendTimeNotEqualTo(String value) {
            addCriterion("tou_spend_time <>", value, "touSpendTime");
            return (Criteria) this;
        }

        public Criteria andTouSpendTimeGreaterThan(String value) {
            addCriterion("tou_spend_time >", value, "touSpendTime");
            return (Criteria) this;
        }

        public Criteria andTouSpendTimeGreaterThanOrEqualTo(String value) {
            addCriterion("tou_spend_time >=", value, "touSpendTime");
            return (Criteria) this;
        }

        public Criteria andTouSpendTimeLessThan(String value) {
            addCriterion("tou_spend_time <", value, "touSpendTime");
            return (Criteria) this;
        }

        public Criteria andTouSpendTimeLessThanOrEqualTo(String value) {
            addCriterion("tou_spend_time <=", value, "touSpendTime");
            return (Criteria) this;
        }

        public Criteria andTouSpendTimeLike(String value) {
            addCriterion("tou_spend_time like", value, "touSpendTime");
            return (Criteria) this;
        }

        public Criteria andTouSpendTimeNotLike(String value) {
            addCriterion("tou_spend_time not like", value, "touSpendTime");
            return (Criteria) this;
        }

        public Criteria andTouSpendTimeIn(List<String> values) {
            addCriterion("tou_spend_time in", values, "touSpendTime");
            return (Criteria) this;
        }

        public Criteria andTouSpendTimeNotIn(List<String> values) {
            addCriterion("tou_spend_time not in", values, "touSpendTime");
            return (Criteria) this;
        }

        public Criteria andTouSpendTimeBetween(String value1, String value2) {
            addCriterion("tou_spend_time between", value1, value2, "touSpendTime");
            return (Criteria) this;
        }

        public Criteria andTouSpendTimeNotBetween(String value1, String value2) {
            addCriterion("tou_spend_time not between", value1, value2, "touSpendTime");
            return (Criteria) this;
        }

        public Criteria andChuStartTimeIsNull() {
            addCriterion("chu_start_time is null");
            return (Criteria) this;
        }

        public Criteria andChuStartTimeIsNotNull() {
            addCriterion("chu_start_time is not null");
            return (Criteria) this;
        }

        public Criteria andChuStartTimeEqualTo(String value) {
            addCriterion("chu_start_time =", value, "chuStartTime");
            return (Criteria) this;
        }

        public Criteria andChuStartTimeNotEqualTo(String value) {
            addCriterion("chu_start_time <>", value, "chuStartTime");
            return (Criteria) this;
        }

        public Criteria andChuStartTimeGreaterThan(String value) {
            addCriterion("chu_start_time >", value, "chuStartTime");
            return (Criteria) this;
        }

        public Criteria andChuStartTimeGreaterThanOrEqualTo(String value) {
            addCriterion("chu_start_time >=", value, "chuStartTime");
            return (Criteria) this;
        }

        public Criteria andChuStartTimeLessThan(String value) {
            addCriterion("chu_start_time <", value, "chuStartTime");
            return (Criteria) this;
        }

        public Criteria andChuStartTimeLessThanOrEqualTo(String value) {
            addCriterion("chu_start_time <=", value, "chuStartTime");
            return (Criteria) this;
        }

        public Criteria andChuStartTimeLike(String value) {
            addCriterion("chu_start_time like", value, "chuStartTime");
            return (Criteria) this;
        }

        public Criteria andChuStartTimeNotLike(String value) {
            addCriterion("chu_start_time not like", value, "chuStartTime");
            return (Criteria) this;
        }

        public Criteria andChuStartTimeIn(List<String> values) {
            addCriterion("chu_start_time in", values, "chuStartTime");
            return (Criteria) this;
        }

        public Criteria andChuStartTimeNotIn(List<String> values) {
            addCriterion("chu_start_time not in", values, "chuStartTime");
            return (Criteria) this;
        }

        public Criteria andChuStartTimeBetween(String value1, String value2) {
            addCriterion("chu_start_time between", value1, value2, "chuStartTime");
            return (Criteria) this;
        }

        public Criteria andChuStartTimeNotBetween(String value1, String value2) {
            addCriterion("chu_start_time not between", value1, value2, "chuStartTime");
            return (Criteria) this;
        }

        public Criteria andChuEndTimeIsNull() {
            addCriterion("chu_end_time is null");
            return (Criteria) this;
        }

        public Criteria andChuEndTimeIsNotNull() {
            addCriterion("chu_end_time is not null");
            return (Criteria) this;
        }

        public Criteria andChuEndTimeEqualTo(String value) {
            addCriterion("chu_end_time =", value, "chuEndTime");
            return (Criteria) this;
        }

        public Criteria andChuEndTimeNotEqualTo(String value) {
            addCriterion("chu_end_time <>", value, "chuEndTime");
            return (Criteria) this;
        }

        public Criteria andChuEndTimeGreaterThan(String value) {
            addCriterion("chu_end_time >", value, "chuEndTime");
            return (Criteria) this;
        }

        public Criteria andChuEndTimeGreaterThanOrEqualTo(String value) {
            addCriterion("chu_end_time >=", value, "chuEndTime");
            return (Criteria) this;
        }

        public Criteria andChuEndTimeLessThan(String value) {
            addCriterion("chu_end_time <", value, "chuEndTime");
            return (Criteria) this;
        }

        public Criteria andChuEndTimeLessThanOrEqualTo(String value) {
            addCriterion("chu_end_time <=", value, "chuEndTime");
            return (Criteria) this;
        }

        public Criteria andChuEndTimeLike(String value) {
            addCriterion("chu_end_time like", value, "chuEndTime");
            return (Criteria) this;
        }

        public Criteria andChuEndTimeNotLike(String value) {
            addCriterion("chu_end_time not like", value, "chuEndTime");
            return (Criteria) this;
        }

        public Criteria andChuEndTimeIn(List<String> values) {
            addCriterion("chu_end_time in", values, "chuEndTime");
            return (Criteria) this;
        }

        public Criteria andChuEndTimeNotIn(List<String> values) {
            addCriterion("chu_end_time not in", values, "chuEndTime");
            return (Criteria) this;
        }

        public Criteria andChuEndTimeBetween(String value1, String value2) {
            addCriterion("chu_end_time between", value1, value2, "chuEndTime");
            return (Criteria) this;
        }

        public Criteria andChuEndTimeNotBetween(String value1, String value2) {
            addCriterion("chu_end_time not between", value1, value2, "chuEndTime");
            return (Criteria) this;
        }


        public Criteria andJiWeightStatusIsNull() {
            addCriterion("ji_weight_status is null");
            return (Criteria) this;
        }

        public Criteria andJiWeightStatusIsNotNull() {
            addCriterion("ji_weight_status is not null");
            return (Criteria) this;
        }

        public Criteria andJiWeightStatusEqualTo(String value) {
            addCriterion("ji_weight_status =", value, "jiWeightStatus");
            return (Criteria) this;
        }

        public Criteria andJiWeightStatusNotEqualTo(String value) {
            addCriterion("ji_weight_status <>", value, "jiWeightStatus");
            return (Criteria) this;
        }

        public Criteria andJiWeightStatusGreaterThan(String value) {
            addCriterion("ji_weight_status >", value, "jiWeightStatus");
            return (Criteria) this;
        }

        public Criteria andJiWeightStatusGreaterThanOrEqualTo(String value) {
            addCriterion("ji_weight_status >=", value, "jiWeightStatus");
            return (Criteria) this;
        }

        public Criteria andJiWeightStatusLessThan(String value) {
            addCriterion("ji_weight_status <", value, "jiWeightStatus");
            return (Criteria) this;
        }

        public Criteria andJiWeightStatusLessThanOrEqualTo(String value) {
            addCriterion("ji_weight_status <=", value, "jiWeightStatus");
            return (Criteria) this;
        }

        public Criteria andJiWeightStatusLike(String value) {
            addCriterion("ji_weight_status like", value, "jiWeightStatus");
            return (Criteria) this;
        }

        public Criteria andJiWeightStatusNotLike(String value) {
            addCriterion("ji_weight_status not like", value, "jiWeightStatus");
            return (Criteria) this;
        }

        public Criteria andJiWeightStatusIn(List<String> values) {
            addCriterion("ji_weight_status in", values, "jiWeightStatus");
            return (Criteria) this;
        }

        public Criteria andJiWeightStatusNotIn(List<String> values) {
            addCriterion("ji_weight_status not in", values, "jiWeightStatus");
            return (Criteria) this;
        }

        public Criteria andJiWeightStatusBetween(String value1, String value2) {
            addCriterion("ji_weight_status between", value1, value2, "jiWeightStatus");
            return (Criteria) this;
        }

        public Criteria andJiWeightStatusNotBetween(String value1, String value2) {
            addCriterion("ji_weight_status not between", value1, value2, "jiWeightStatus");
            return (Criteria) this;
        }



        public Criteria andJiWeightTimeIsNull() {
            addCriterion("ji_weight_time is null");
            return (Criteria) this;
        }

        public Criteria andJiWeightTimeIsNotNull() {
            addCriterion("ji_weight_time is not null");
            return (Criteria) this;
        }

        public Criteria andJiWeightTimeEqualTo(String value) {
            addCriterion("ji_weight_time =", value, "jiWeightTime");
            return (Criteria) this;
        }

        public Criteria andJiWeightTimeNotEqualTo(String value) {
            addCriterion("ji_weight_time <>", value, "jiWeightTime");
            return (Criteria) this;
        }

        public Criteria andJiWeightTimeGreaterThan(String value) {
            addCriterion("ji_weight_time >", value, "jiWeightTime");
            return (Criteria) this;
        }

        public Criteria andJiWeightTimeGreaterThanOrEqualTo(String value) {
            addCriterion("ji_weight_time >=", value, "jiWeightTime");
            return (Criteria) this;
        }

        public Criteria andJiWeightTimeLessThan(String value) {
            addCriterion("ji_weight_time <", value, "jiWeightTime");
            return (Criteria) this;
        }

        public Criteria andJiWeightTimeLessThanOrEqualTo(String value) {
            addCriterion("ji_weight_time <=", value, "jiWeightTime");
            return (Criteria) this;
        }

        public Criteria andJiWeightTimeLike(String value) {
            addCriterion("ji_weight_time like", value, "jiWeightTime");
            return (Criteria) this;
        }

        public Criteria andJiWeightTimeNotLike(String value) {
            addCriterion("ji_weight_time not like", value, "jiWeightTime");
            return (Criteria) this;
        }

        public Criteria andJiWeightTimeIn(List<String> values) {
            addCriterion("ji_weight_time in", values, "jiWeightTime");
            return (Criteria) this;
        }

        public Criteria andJiWeightTimeNotIn(List<String> values) {
            addCriterion("ji_weight_time not in", values, "jiWeightTime");
            return (Criteria) this;
        }

        public Criteria andJiWeightTimeBetween(String value1, String value2) {
            addCriterion("ji_weight_time between", value1, value2, "jiWeightTime");
            return (Criteria) this;
        }

        public Criteria andJiWeightTimeNotBetween(String value1, String value2) {
            addCriterion("ji_weight_time not between", value1, value2, "jiWeightTime");
            return (Criteria) this;
        }


        public Criteria andJiWeightUserIsNull() {
            addCriterion("ji_weight_user is null");
            return (Criteria) this;
        }

        public Criteria andJiWeightUserIsNotNull() {
            addCriterion("ji_weight_user is not null");
            return (Criteria) this;
        }

        public Criteria andJiWeightUserEqualTo(String value) {
            addCriterion("ji_weight_user =", value, "jiWeightUser");
            return (Criteria) this;
        }

        public Criteria andJiWeightUserNotEqualTo(String value) {
            addCriterion("ji_weight_user <>", value, "jiWeightUser");
            return (Criteria) this;
        }

        public Criteria andJiWeightUserGreaterThan(String value) {
            addCriterion("ji_weight_user >", value, "jiWeightUser");
            return (Criteria) this;
        }

        public Criteria andJiWeightUserGreaterThanOrEqualTo(String value) {
            addCriterion("ji_weight_user >=", value, "jiWeightUser");
            return (Criteria) this;
        }

        public Criteria andJiWeightUserLessThan(String value) {
            addCriterion("ji_weight_user <", value, "jiWeightUser");
            return (Criteria) this;
        }

        public Criteria andJiWeightUserLessThanOrEqualTo(String value) {
            addCriterion("ji_weight_user <=", value, "jiWeightUser");
            return (Criteria) this;
        }

        public Criteria andJiWeightUserLike(String value) {
            addCriterion("ji_weight_user like", value, "jiWeightUser");
            return (Criteria) this;
        }

        public Criteria andJiWeightUserNotLike(String value) {
            addCriterion("ji_weight_user not like", value, "jiWeightUser");
            return (Criteria) this;
        }

        public Criteria andJiWeightUserIn(List<String> values) {
            addCriterion("ji_weight_user in", values, "jiWeightUser");
            return (Criteria) this;
        }

        public Criteria andJiWeightUserNotIn(List<String> values) {
            addCriterion("ji_weight_user not in", values, "jiWeightUser");
            return (Criteria) this;
        }

        public Criteria andJiWeightUserBetween(String value1, String value2) {
            addCriterion("ji_weight_user between", value1, value2, "jiWeightUser");
            return (Criteria) this;
        }

        public Criteria andJiWeightUserNotBetween(String value1, String value2) {
            addCriterion("ji_weight_user not between", value1, value2, "jiWeightUser");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}